/*     */ package com.umeng.newxp.view;
/*     */ 
/*     */ import android.content.Context;
/*     */ import android.content.res.Resources;
/*     */ import android.text.TextUtils;
/*     */ import android.view.View;
/*     */ import android.view.View.OnClickListener;
/*     */ import android.widget.Toast;
/*     */ import com.umeng.common.a.c;
/*     */ import com.umeng.common.b;
/*     */ import com.umeng.newxp.common.g;
/*     */ import com.umeng.newxp.controller.ExchangeDataService;
/*     */ import com.umeng.newxp.controller.XpListenersCenter.EntryOnClickListener;
/*     */ 
/*     */ class H
/*     */   implements View.OnClickListener
/*     */ {
/*     */   H(ExchangeViewManager paramExchangeViewManager)
/*     */   {
/*     */   }
/*     */ 
/*     */   public void onClick(View paramView)
/*     */   {
/* 313 */     if ((b.a(this.a.c, 
/* 313 */       "android.permission.ACCESS_NETWORK_STATE")) && 
/* 314 */       (!b.n(this.a.c))) {
/* 315 */       Toast.makeText(
/* 316 */         this.a.c, 
/* 317 */         this.a.c.getResources().getString(
/* 318 */         c.a(this.a.c)), 
/* 319 */         1).show();
/* 320 */       return;
/*     */     }
/*     */ 
/* 327 */     StringBuilder localStringBuilder = new StringBuilder("http://ex.mobmore.com/api/wap?sdk_version=" + 
/* 328 */       b.d(this.a.c));
/* 329 */     if (!TextUtils.isEmpty(ExchangeViewManager.a(this.a).slot_id)) localStringBuilder.append("&slot_id=" + 
/* 330 */         ExchangeViewManager.a(this.a).slot_id);
/* 331 */     else if (!TextUtils.isEmpty(g.a(this.a.c, ExchangeViewManager.a(this.a)))) localStringBuilder.append("&app_key=" + 
/* 332 */         g.a(this.a.c, ExchangeViewManager.a(this.a)));
/*     */     else {
/* 334 */       return;
/*     */     }
/* 336 */     new i(this.a.c, localStringBuilder.toString()).show();
/*     */ 
/* 338 */     if (this.a.e != null) this.a.e.onClick(ExchangeViewManager.d(this.a));
/*     */   }
/*     */ }

/* Location:           C:\Users\Administrator\Desktop\umeng_sdk.jar
 * Qualified Name:     com.umeng.newxp.view.H
 * JD-Core Version:    0.6.2
 */